package cloud.seri.iot.common.model

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

@ApiModel("注册设备参数")
data class RegisterDeviceDTO(

    @ApiModelProperty("为待注册的设备设置备注名称")
    var nickname: String? = null,
    @field:NotBlank(message = "设备名称不能为空")
    var deviceName: String? = null,
    @field:NotBlank(message = "产品KEY不能为空")
    var productKey: String? = null
)
